package com.example.common.domain.pojo;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

@Data
public class Section {

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;         //小节id 真id
    private String sectionId;     //假id,拼接字符串
    private String sectionName;    //小节主题
    private String courseId;        //课程表id，大纲表id

    //可以为null，说明该小节还没有生成讲义
    private String handoutsId;   //讲义id        (讲义id 为拼接字符串 课程id+第几个人章（09  11）+第几小节 （ 05  10）)

    //可以为空
    private String pptId;

    @TableField(fill = FieldFill.INSERT)
    private Timestamp createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Timestamp updateTime;




}
